.analysisLayout {
  height: calc(100vh - 64px - 48px);
  background: var(--content-bg);
}

.siderWrapper {
  position: relative;
  display: flex;
  height: 100%;
}

.sider {
  background: transparent !important;
  margin-right: 16px;
  transition: all 0.3s ease;
  height: 100%;
}

.sider :global(.ant-layout-sider-children) {
  height: 100%;
}

.sider :global(.ant-card) {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sider :global(.ant-card-body) {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.content {
  background: transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.collapseButton {
  position: fixed;
  left: 400px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.collapseButton:hover {
  background: var(--primary-color) !important;
  color: white !important;
  width: 28px;
}

.sider:global(.ant-layout-sider-collapsed) + .collapseButton {
  left: 0;
}

.batchActions {
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
}

.placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  margin: 16px;
  padding: 24px;
  font-size: 16px;
}

.placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  z-index: -1;
}

/* 优化表格样式 */
:global(.ant-table-cell) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:global(.ant-table-tbody > tr > td) {
  padding: 8px !important;
}

/* 优化图例样式 */
:global(.echarts-for-react) {
  height: 100% !important;
}

:global(.echarts-for-react .echarts-legend) {
  overflow: visible !important;
}

.collapseButtonRight,
.collapseButtonLeft {
  position: absolute;
  width: 24px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  transition: all 0.3s ease;
}

.collapseButtonRight {
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0 4px 4px 0;
}

.collapseButtonLeft {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px 0 0 4px;
}

.collapseButtonRight:hover,
.collapseButtonLeft:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

.analysisCard {
  position: relative;
  z-index: 99;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.analysisCard :global(.ant-card-body) {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 优化图表缩放控件样式 */
:global(.echarts-dataZoom-slider) {
  background-color: #f5f5f5 !important;
  border-radius: 4px;
  margin: 0 10% !important;
  width: 80% !important;
}

:global(.echarts-dataZoom-slider .slider-handle) {
  border-radius: 4px;
}

/* 表格区域自适应高度 */
.sider :global(.ant-table-wrapper) {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sider :global(.ant-spin-nested-loading) {
  flex: 1;
  overflow: hidden;
}

.sider :global(.ant-spin-container) {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sider :global(.ant-table) {
  flex: 1;
  overflow: hidden;
}

.sider :global(.ant-table-container) {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sider :global(.ant-table-body) {
  flex: 1;
  overflow: auto !important;
}

/* 图表区域自适应高度 */
.chart {
  flex: 1;
  min-height: 0;
}

/* ... 其他样式保持不变 */ 